package cn.lix.sc.elasticsearch.dto;

public class Condition {

    private String field;

    private Object value;

    private OptType optType;


    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public OptType getOptType() {
        return optType;
    }

    public void setOptType(OptType optType) {
        this.optType = optType;
    }

    @Override
    public String toString() {
        return "Condition{" +
                "field='" + field + '\'' +
                ", value=" + value +
                ", optType=" + optType +
                '}';
    }
}
